//
//  UIDevice+Extension.swift
//  globalcarbusiness
//
//  Created by dongzhenyu on 2017/8/17.
//  Copyright © 2017年 dongzhenyu. All rights reserved.
//

import Foundation

public extension UIDevice {
    
    static func isSimulator() -> Bool {
        /* 是否模拟器 */
        var isSimulator = false
        #if arch(i386) || arch(x86_64)
            isSimulator = true
        #endif
        return isSimulator
    }
}
